<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <base th:href="@{/}">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta http-equiv="pragma" content="no-cache" />
  <meta http-equiv="cache-control" content="no-cache" />
  <meta http-equiv="expires" content="0" />

  <th:block th:include ="commHeaderInclude::commHead">
  </th:block>
  <title>更新医保结算信息</title>
  <style>
    .form p{ line-height: 2em; font-size: 12px;}
    .form .error{ color: #f30; margin-left: 20px; display: none;}

  </style>
  <script th:src="@{/js/Certificate.js}"></script>
  <script th:src="@{/js/Cryptokit.js}"></script>
</head>
<body class="ht">
<th:block th:include="commHeaderInclude::loading"></th:block>
<div class="content-wrapper">
  <form name="form" id="form" class="form" method="post" th:object="${dto}">
    <div class="card mb-3">
      <div class="card-body">
        <!--<h4 class="card-title"></h4>-->
        <div class="module">
          <table cellpadding="0" cellspacing="0" class="vTable">
            <tbody>
            <tr>
              <th class="label"><span class="required">*</span>医保平台</th>
              <td>
                <div><span type="text" name="pfmName" th:text="${pfmVo.pfmName}" disabled/></div>
              </td>
            </tr>
            <tr>
              <th class="label">医保统筹区</th>
              <td>
                <div><span type="text" name="areaName" th:text="${pfmVo.areaName}" disabled/></div>
              </td>
            </tr>
            <tr>
              <th class="label"><span class="required">*</span>查询内容</th>
              <td>
                  <span role="CheckboxGroup">
                      <input type="hidden" name="dataType" value="" role="CheckboxChecked" />
                      <input type="checkbox" name="dataType" id="dataType2" value="2"/>
                      <label for="dataType2">医保结算账户</label>
                      <input type="checkbox" name="dataType" id="dataType3" value="3"/>
                      <label for="dataType3">医保结算明细数据</label>
                  </span>
              </td>
            </tr>
            <tr class="limited dataType_3">
                <th class="label">结算起止日期</th>
                <td>
                  <div>
                    <input class="ht-dateInput" style="width: 110px" type="date" name="payStartDate" placeholder="" data-options="endSelector:'[name=payEndDate]'" />
                    <span class="ht_dateText d-inlineBlock">至</span>
                    <input class="ht-dateInput" style="width: 110px" type="date" name="payEndDate" placeholder="" data-options="startSelector:'[name=payStartDate]'"/>
                    <span style="color: gray;">平台支持查询前年1月1日至今的结算数据，具体以当地主管机构为准。</span>
                  </div>
                </td>
            </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>


    <div class="row" style="padding-top:10px;">
      <input class="btn btn-primary btn-lg" type="submit" id="confirmButton" value="确定" />
      <input class="btn btn-secondary btn-lg" type="button" value="取消" onclick="parent.ht.closeAllFrameWindow()"/>
    </div>
  </form>
</div>


<div class="ht-dialog auto" role="autoOpenDialog">
  <div class="wrapper">
    <h4 class="title" th:text="${result.msg}">提示</h4>
    <a class="ht-closeButton">close</a>
    <div class="content">
      <ul th:if="${#fields.hasErrors('dto.*')}">
        <li th:each="err:${#fields.errors('dto.*')}" th:text="${err}"></li>
      </ul>
    </div>
  </div>
</div>
</body>
<script>
  var form=new HTMLTurbo.control.Form("#form");
  form.ruleUrl=baseUrl+"/hos/payLog/createFormRule.json"
  form.init()
</script>
</html>